package com.bookborrow.model;

public class Book {
    private Integer id;

    private String name;

    private String author;

    private String isbn;

    private int num;

    private String desc;

    public Book() {

    }

    public Book(Integer id, String name, String author, String isbn, int num, String desc) {
        this.id = id;
        this.name = name;
        this.author = author;
        this.isbn = isbn;
        this.num = num;
        this.desc = desc;
    }

    @Override
    public String toString() {
        return super.toString();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getIsbn() {
        return isbn;
    }

    public void setIsbn(String isbn) {
        this.isbn = isbn;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
